import request from '@/utils/request'

export function addComment(data) {
  return request({
    url: '/PMSystem/comment',
    method: 'post',
    data
  })
}

export function getCommentListById(id) {
  return request({
    url: `/PMSystem/comment/${id}`,
    method: 'get'
  })
}

